package com.wmyg.antifake.service;

import com.wmyg.antifake.entity.ProductTag;
import org.springframework.data.domain.Page;

import java.util.List;

public interface ProductTagService {

    Boolean saveTag(ProductTag productTag, String username);

    Boolean updateTag(ProductTag productTag);

    ProductTag findById(Integer tagId);

    List<ProductTag> findProductTagList(String username);

    Page<ProductTag> findProductTagPage(String username, Integer index);

    Boolean delete(Integer tagId);

}
